package com.cwh.taskcenter.reward.model;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author cwh
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PointAccountDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 总积分
     */
    private Long totalPoint;

    /**
     * 可用积分
     */
    private Long availablePoint;

    /**
     * 冻结积分
     */
    private Long frozenPoint;

    /**
     * 账户状态：0-禁用，1-正常
     */
    private Integer accStatus;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

    /**
     * 更新时间
     */
    private LocalDateTime updatedTime;

}
